List of all members.
Detailed Description
TPropertyTab contains the information given to the properties module by the client to load the tabs that are independent from the current selection (through GetExtraTabs)
Note that the fCompFamilyID, fCompClassID and fNodeID are used to identify the tab to avoid annoying change of the current tab when the selection changes. (they won't be used to override fPage if you provide a part for it)
Example of implementation of GetExtraTabs:
extraTabs.SetElemSpace(4);
extraTabs.AddElem( TPropertyTab(kRID_ModuleFamilyID, kHierModuleID, kHierarchyTreeNodeID, kHierarchyModulePublicStrings, kHierModuleInstancesString) );
extraTabs.AddElem( TPropertyTab(kRID_ModuleFamilyID, kHierModuleID, kObjectsPartNodeID, kHierarchyModulePublicStrings, kHierModuleObjectsString) );
extraTabs.AddElem( TPropertyTab(kRID_ModuleFamilyID, kHierModuleID, kShadersPartNodeID, kHierarchyModulePublicStrings, kHierModuleShadersString) );
TPropertyTab previewTab(kRID_ModuleFamilyID, k3DViewModuleClassID, kPreviewTabNodeID, k3DViewModulePublicStrings, k3DViewModulePreviewString);
previewTab.fPage= gShell3DUtilities->GetScenePreviewPart();
extraTabs.AddElem(previewTab);
Constructor & Destructor Documentation
| TPropertyTab::TPropertyTab |
( |
|
) |
[inline] |
|
| TPropertyTab::TPropertyTab |
( |
const TPropertyTab & |
tab |
) |
[inline] |
|
| TPropertyTab::TPropertyTab |
( |
IMFPart * |
inPage, |
|
|
const TMCString & |
inTitle |
|
) |
[inline] |
|
Member Function Documentation
| void TPropertyTab::Init |
( |
void |
|
) |
[inline] |
|
Member Data Documentation
|
|
To setup the correct resource file.
|
|
|
To setup the correct resource file.
|
|
|
ID of the node part to use for the page.
|
|
|
The node part to display.
|
|
|
ID of the STR# resource to use for the title.
|
|
|
index (one based) of the title in the STR# resource
|
The documentation for this struct was generated from the following file:
Generated on Wed Dec 7 14:27:50 2005 for Carrara SDK Doc by
1.4.5